import React, { Component } from 'react'
import { Link } from 'react-router-dom'

export default class SlideBar extends Component {
  render() {
    return (<>
        {this.props.slideBarData.map((slide, index) => {
            return <Link key = {index} to = {slide.path}>{slide.content}</Link>
        })}
    </>)
  }
}
